/*.right>.blog>.title{*/
/*    text-align: center;*/
/*    font-weight: 700;*/
/*    margin: 10px;*/
/*}*/

/*.right>.blog>.date{*/
/*    text-align: center;*/
/*    color: green;*/
/*    margin: 10px;*/
/*}*/
/*.right>.blog>.desc{*/
/*    text-indent: 2em;*/
/*}*/
/*.right>.blog>.detail{*/
/*    display: block;*/
/*    width: 100px;*/
/*    height: 30px;*/
/*    text-align: center;*/
/*    border: 1px solid black;*/
/*    margin: 10px auto 30px;*/
/*    line-height: 30px;*/
/*    text-decoration: none;*/
/*    color: black;*/
/*    !* margin-bottom: 20px; *!*/
/*}*/

    /* 全局样式 */
body {
    background-color: #f5f5f5;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 主容器 */
.right {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 博客卡片 */
.blog {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 标题样式 */
.title {
    font-size: 22px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
    cursor: pointer;
}

.title:hover {
    color: #007bff;
}

/* 日期样式 */
.date {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}

/* 描述样式 */
.desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 查看全文链接 */
.detail {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    float: right;
    transition: color 0.2s;
}

.detail:hover {
    color: #0056b3;
}

.detail::after {
    content: "››";
    margin-left: 4px;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .right {
        padding: 0 15px;
    }

    .blog {
        padding: 15px;
    }

    .title {
        font-size: 20px;
    }

    .desc {
        font-size: 14px;
    }
}
/* 文章头部样式 */
.blog-square {
    margin-bottom: 10px;
    padding: 12px 20px;
    background: #f8f9fa;  /* 浅灰色背景 */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #333;         /* 深灰色标题 */
    font-size: 1.5em;
    font-weight: 600;
    width: 150px;
}
